package io.renren.modules.newBackground.shanghaiCmcc.v2.example;



public class MyExample extends Thread {
	
	public static void main(String[] args) {
		//创建一个http客户端，参数为appCode,apk
		//测试环境参数
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0001491", "vEP3PssIKtZd+9qGp4UTimGDtSV8LPT3");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002433", "MaQqQ9kOxwgjnUDsJV6hq8vOSjhSDWtk");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002370", "7wKRdp6U4D6rSbYETM0TcAgTsA3TB/0g");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0000186", "46vag3mn9M0srWuiMny64Pf3XacB8WFi");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0000186", "46vag3mn9M0srWuiMny64Pf3XacB8WFi");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002445", "FZIWRahkpO+oqONhL9byfJiPJe91iftr");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0025774", "bnZoYmQgFixwxCkO99puhZuis9lbTMQ4");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002360", "0OBP7NV5FtCGJc4xHEq8Xi+bTC9DHHr9");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002511", "8dncbu+YNNW8eY+zASwxIBZzurwj6W6D");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0001815", "zjRi5mGtIDKklx+SFps3yOMODmvHdThr");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0001547", "znoZXkO1wlsEEOl2VP5Flx9rYc7T0Kuh");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002460", "Cy/j2Tj0FnmGCGKk0OU0y6QyoZLg+MF8");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0000186", "odnvHPg+dTdPLKLlofsgEFEBlN/gvFFe");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002279", "zXpDEDdSB85DnS80fOxu7BYl0JfyusSS");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002019", "Tyr4nXrjp0bcAiwvq0WYOIV6ejuGI/39");
		//OpenapiHttpCilent client = new OpenapiHttpCilent("A0002053", "I2sgKdXZiQHcbhovm2j+UoDBg6TTKfjW");
		// 使用客户端调用接口，参数为apiCode,transactionId,requestBody
			try {
				
			String str = "{\"Request\":{\"BusiParams\":{\"provinceId\":\"1\",\"queryType\":\"2\",\"rowsPerPage\":\"***\",\"channelId\":\"1\",\"account\":\"13816137020\",\"paging\":\"***\",\"pageNum\":\"***\",\"regionId\":\"1\"},\"BusiCode\":\"PT-SH-FS-OI819523\"},\"PubInfo\":{\"InterfaceId\":\"121\",\"TransactionId\":\"20181218144053\",\"InterfaceType\":\"06\",\"OpId\":\"410829\",\"CountyCode\":\"00030028\",\"OrgId\":\"20124\",\"ClientIP\":\"10.10.142.244\",\"TransactionTime\":\"20181218144053\",\"RegionCode\":\"210\"}}";
			 // 使用 HTTP方式调用openapiJIE
				//测试环境参数
             //String response = client.call("CRM001469", "20180719105039663063",str);
				//String response = client.call("CRM5065", "12345678998761",str);
				//String response = client.call("CRM819523", "12345678998761",str);
				//本地环境参数
					//String response = client.call("Test", "123456789",str);
					//String response = client.call("YxzTest", "123456789",str);
					//System.out.println(response);
				
			} catch (Exception e) {
				e.printStackTrace();
			}
			
	}
	
	

}
